<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/1/23 0023
 * Time: 16:01
 */

mysql_connect('localhost','root','321abcD');
mysql_query("set names 'utf8' ");//在连接数据库时，设置字符集，保持不乱码
mysql_select_db('mm');